package com.zd.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 课程安排表
 * </p>
 *
 * @author TSP
 * @since 2021-08-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sc_course")
@ApiModel(value="Course对象", description="课程安排表")
public class Course implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "课程安排ID")
    @TableId(value = "course_id", type = IdType.AUTO)
    private Integer courseId;

    @ApiModelProperty(value = "教师ID")
    @TableField("tea_id")
    private Integer teaId;

    @ApiModelProperty(value = "课程ID")
    @TableField("subject_id")
    private Integer subjectId;

    @ApiModelProperty(value = "课程最多人数")
    private Integer stuNum;

    @ApiModelProperty(value = "第几周开始")
    private Integer startWeek;

    @ApiModelProperty(value = "第几周结束")
    private Integer endWeek;

    @ApiModelProperty(value = "学生成绩是否都提交")
    private Boolean gradeSubmit;


}
